﻿namespace MobileTrack.Core
{
    using System.Diagnostics.CodeAnalysis;
    using System.Web.Profile;

    [ExcludeFromCodeCoverage]
    public class MobileTrackProfile : ProfileBase
    {
        public virtual bool Initialized
        {
            get
            {
                return (bool)this.GetPropertyValue(Constants.InitializedProfile);
            }

            set
            {
                this.SetPropertyValue(Constants.InitializedProfile, value);
            }
        }

        public static new MobileTrackProfile Create(string userName)
        {
            return ProfileBase.Create(userName) as MobileTrackProfile;
        }
    }
}
